package com.nwpu.coursesupport.type;

import org.apache.ibatis.type.EnumOrdinalTypeHandler;
import org.apache.ibatis.type.MappedTypes;

import com.nwpu.coursesupport.enumeration.Anonymous;
import com.nwpu.coursesupport.enumeration.ClassType;
import com.nwpu.coursesupport.enumeration.EvaluateObj;
import com.nwpu.coursesupport.enumeration.EvaluateType;
import com.nwpu.coursesupport.enumeration.FileType;
import com.nwpu.coursesupport.enumeration.Gender;
import com.nwpu.coursesupport.enumeration.LessonCreateType;
import com.nwpu.coursesupport.enumeration.LessonStatus;
import com.nwpu.coursesupport.enumeration.LessonType;
import com.nwpu.coursesupport.enumeration.Mark;
import com.nwpu.coursesupport.enumeration.RoleType;
import com.nwpu.coursesupport.enumeration.Status;
import com.nwpu.coursesupport.enumeration.StatusType;
import com.nwpu.coursesupport.enumeration.SubmitTaskStatus;
import com.nwpu.coursesupport.enumeration.TaskType;


@MappedTypes({RoleType.class,Gender.class,EvaluateType.class,EvaluateObj.class,
	Anonymous.class,Mark.class,Status.class,FileType.class,SubmitTaskStatus.class,
	StatusType.class,TaskType.class,LessonType.class,ClassType.class,LessonStatus.class,LessonCreateType.class})
public class EnumTypeHandler<E extends Enum<E>> extends EnumOrdinalTypeHandler<E>{

	public EnumTypeHandler(Class<E> type) {
		super(type);

	}

}
